package cn.edu.xmu.wnw.pojo;
// default package

import java.util.Date;


/**
 * WikiComment entity. @author MyEclipse Persistence Tools
 */

public class WikiComment  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Wiki wiki;
     private String content;
     private Date createTime;
     private String createUserName;


    // Constructors

    /** default constructor */
    public WikiComment() {
    }

    
    /** full constructor */
    public WikiComment(Wiki wiki, String content, Date createTime, String createUserName) {
        this.wiki = wiki;
        this.content = content;
        this.createTime = createTime;
        this.createUserName = createUserName;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Wiki getWiki() {
        return this.wiki;
    }
    
    public void setWiki(Wiki wiki) {
        this.wiki = wiki;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserName() {
        return this.createUserName;
    }
    
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
   








}